TRREST_PAYLOADTRANS
This project covers all the test cases of REST trigger and payload transformer.
Sr. No | Service Name | Description | Details |
---|---|---|---|
1. | mapSingleRecord | mapSingleRecord having GEN mapping |
POST
|
2. | mapMultipleRecord | mapMultipleRecord having AR mapping |
POST
|
3. | mapArray | Having AR mapping which returns array as output |
POST
|
4. | mapRecordQueryParam | Usage of Transformer where input comes from query params using TRANS mapping, concatenate the input and return as output. |
GET
|
5. | postRecordOBJ | postRecordOBJ having OBJ mapping |
POST
|
6. | postTransUtils | Use of few inline functions: 1. Use `Strings.concat` method to concatenate 2 or more strings with an underscore `-` between them and `Utils.constant` to get a constant value. 2. Use `Strings.toUppercase` method to convert string to uppercase. 3. Use `Maths.add` method for addition of dynamic values with datatype `Number`. 4. Use `Maths.add` method for addition of static and dynamic values with datatype `Double`. 5. Use GEN with datatype `Boolean`. 6. Use `Date.DateTime` method to get the current date and time. |
POST
|